package com.example.demo.domain;

public class FizzBuzz {

  public static String fizzBuzz(Integer number) {
    String result = "";
    if (number%3==0){
      result = "Fizz";
    }
    if (number%5==0){
      result +="Buzz";
    }
    if (result.equals("")){
      result = number.toString();
    }
    return  result;

  }
}
